/**
 * Copyright &copy; 2012-2015  All rights reserved.
 */
package com.smartwork.common.mobile.wechat.dao;

import com.smartwork.common.mobile.wechat.bean.WechatInfo;
import com.smartwork.common.persistence.CrudDao;
import com.smartwork.common.persistence.annotation.MyBatisDao;

/**
 * WechatInfoDAO接口
 * @author wj
 * @version 2016-06-30
 */
@MyBatisDao
public interface WechatInfoDao extends CrudDao<WechatInfo> {

    public WechatInfo getByUserId(String userId);

    /**
     * 跟进openId 查找用户微信信息
     * @param openId
     * @return
     */
    public WechatInfo getByOpenId(String openId);
}